<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="textml; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">
    <title>Title</title>
    <script src="../static/jquery-1.8.1.min.js"></script>

</head>
<body>
<h1>hello</h1>

<!--
<form method="post" action="/user/text" enctype="multipart/form-data">
    <input type="submit">
</form>
-->

<form method="post" action="http://47.107.87.99:8080/resource/files" enctype="multipart/form-data">
    <input type="text" name="account" value="777">
    <input type="file" name="file" multiple webkitdirectory>
    <input type="submit">
</form>

<form method="post" action="http://47.107.87.99:8080/user/userInput">
    <input type="text" name="account" value="123">
    <input type="text" name="password">
    <input type="submit">
</form>

上传的文件为
<img src="#" id="img">
<button id="bu">点击获取</button>
<a href="http://47.107.87.99:8080/resource/777/Kay/index.html">传送门</a>
<a href="http://localhost:8080/doc.html">传送门</a>
<a href="http://47.107.87.99:8080/resource/zhhhh/Archive/index.html">传送门</a>
</body>

<script>
    $(function () {
        $("#bu").click(function () {
            $.ajax({
                url: "/user/register",
                data:JSON.stringify({
                    account:'1q',
                    password:'1q',
                    userName:'1q',
                    mobileBox:'1q',
                    cloudLink:'1q',
                    cloudKey:'1q',
                }),
                type: "post",
                success: function (result) {
                    console.log(result)
                }
            })
        })
    })

</script>
</html>
